package com.yunxun.coinmessage.entity;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

public class Subscribe {

    private Integer sub_id;
    @NotNull(message = "用户id不能为null")
    private Integer uid;
    private Integer model_id;
    @NotNull(message = "栏目id不能为null")
    private Integer type_id;
    private Long create_time;
    public Subscribe(){
        model_id=0;
    }
    public Long getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
    }

    public Integer getModel_id() {
        return model_id;
    }

    public void setModel_id(Integer model_id) {
        this.model_id = model_id;
    }

    public Integer getSub_id() {
        return sub_id;
    }

    public void setSub_id(Integer sub_id) {
        this.sub_id = sub_id;
    }

    public Integer getType_id() {
        return type_id;
    }

    public void setType_id(Integer type_id) {
        this.type_id = type_id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }
}
